package com.yipao.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.yipao.db.domain.YipaoIssue;
import com.yipao.db.domain.YipaoIssueExample;

public interface IssueMapper {

    long countByExample(YipaoIssueExample example);


    int deleteByExample(YipaoIssueExample example);


    int deleteByPrimaryKey(Integer id);


    int insert(YipaoIssue record);


    int insertSelective(YipaoIssue record);


    YipaoIssue selectOneByExample(YipaoIssueExample example);


    YipaoIssue selectOneByExampleSelective(@Param("example") YipaoIssueExample example, @Param("selective") YipaoIssue.Column ... selective);


    List<YipaoIssue> selectByExampleSelective(@Param("example") YipaoIssueExample example, @Param("selective") YipaoIssue.Column ... selective);


    List<YipaoIssue> selectByExample(YipaoIssueExample example);


    YipaoIssue selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") YipaoIssue.Column ... selective);


    YipaoIssue selectByPrimaryKey(Integer id);


    YipaoIssue selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);


    int updateByExampleSelective(@Param("record") YipaoIssue record, @Param("example") YipaoIssueExample example);


    int updateByExample(@Param("record") YipaoIssue record, @Param("example") YipaoIssueExample example);


    int updateByPrimaryKeySelective(YipaoIssue record);


    int updateByPrimaryKey(YipaoIssue record);


    int logicalDeleteByExample(@Param("example") YipaoIssueExample example);


    int logicalDeleteByPrimaryKey(Integer id);
}
